{template header}
<div class="bs-docs-example table-align pt-15" style="clear:both;">
    <table class="table table-striped table-align">
        <thead>
        <tr>
            <th>活动ID</th>
            <th width="15%">活动名称</th>
            <th>活动类型</th>
            <th>开始时间</th>
            <th>结束时间</th>
            <th>费用</th>
            <th>状态</th>
        </tr>
        </thead>
        <tbody>
        {loop $list $k $v}
        <tr>
            <td>{$v['aid']}</td>
            <td>{$v['title']}</td>
            <td>{eval echo $type[$v['type']]}</td>
            <td>{eval echo date("Y-m-d H:i:s",$v['stime'])}</td>
            <td>{eval echo date("Y-m-d H:i:s",$v['etime'])}</td>
            <td>{eval echo floatval($v['cost'])}元</td>
            <td>{eval echo $status[$v['status']]}</td>
        </tr>

        {/loop}
        </tbody>
    </table>
</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}
